package net.yla.smartbus.module.ba.right.admin.dto;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * @Date: 2020-08-13 17:24
 * @Author: Being Nobody
 * @Version: 1.0
 *
 */
@Data
public class AdminDTO implements Serializable {

    /*
           id: 记录的主键,
           roles: [角色ID列表],
           loginId: 登录账号,
           state: 账号状态,
           lastLoginTime: 最后登录时间,
           lockedTime: 锁定时间,
           lastLoginIP: 最后登录IP，
           loginCount: 登录成功总次数,
           errorCount: 当前登录错误次数,
           stamp: Web端时间戳,
           nickname: 账号的友好名称,
           gender:0未设置 1 男 2 女
           */
    private static final long serialVersionUID = 6301298564008848480L;

    private Integer id;

    private List<Integer> roles;

    private String loginId;

    private Integer state;

    private String lastLoginTime;

    private String lockedTime;

    private Long lastLoginIP;

    private Integer loginCount;

    private Integer errorCount;

    private Long stamp;

    private String nickName;

    private Integer gender;

    private String creationTime;
}
